package com.gcpproxy.model;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class ParsedMessage {
    private String textPrompt;
    private List<String> images;
    
    public ParsedMessage() {
        this.textPrompt = "";
        this.images = new ArrayList<>();
    }
    
    public ParsedMessage(String textPrompt, List<String> images) {
        this.textPrompt = textPrompt != null ? textPrompt : "";
        this.images = images != null ? images : new ArrayList<>();
    }
    
    public boolean hasImages() {
        return images != null && !images.isEmpty();
    }
}

